//#include "MSM_SimulationFrame.h"
//
//Sx::Simulation::Recording::MSM_SimulationFrame::MSM_SimulationFrame() {
//	//--------------------------------------------------------------------------
//	// Initialize the entries to empty. They will be properly filled out by
//	// the MSM_SimulationRecorder.
//	//--------------------------------------------------------------------------
//	this->entries = Util::ArrayList<Recording::MSM_RecordingEntry>(10, MSM_RecordingEntry());
//	this->freeIndex = 0;
//}
//
//Sx::Simulation::Recording::MSM_SimulationFrame::~MSM_SimulationFrame() {}
//
//Sx::Simulation::Recording::MSM_RecordingEntry& Sx::Simulation::Recording::MSM_SimulationFrame::getNextEntry() {
//	//--------------------------------------------------------------------------
//	// If there are not enough entries provided then the array will have to 
//	// be resized.
//	//--------------------------------------------------------------------------
//	if ( this->freeIndex == this->entries.capacity() ) {
//		this->entries.resize(this->entries.size() * 2);
//	}
//
//	Recording::MSM_RecordingEntry& entry = this->entries[this->freeIndex];
//	this->freeIndex++;
//	return entry;
//}
//
///* 
// * This reference return is ok because the constructors of this class should
// * ALWAYS allocate the entries array (with empty entry objects).
// */
//Sx::Simulation::Recording::MSM_RecordingEntry& Sx::Simulation::Recording::MSM_SimulationFrame::getEntry(unsigned int index) {
//	if ( index >= this->freeIndex ) return this->entries[0];
//	return this->entries[index];
//}
//
//unsigned int Sx::Simulation::Recording::MSM_SimulationFrame::getEntryCount() const {
//	return this->freeIndex;
//}
//
//unsigned int Sx::Simulation::Recording::MSM_SimulationFrame::getNumEntries() const {
//	return this->freeIndex;
//}
//
//unsigned int Sx::Simulation::Recording::MSM_SimulationFrame::size() const {
//	return this->entries.size();
//}
